/**
 * AgentCommissionBillMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-04-23  Created
 */
package com.lzy.product.dao;

import com.lzy.product.dtos.agent.AgentBillScreenListDto;
import com.lzy.product.dtos.agent.AgentCommissionBillDto;
import com.lzy.product.dtos.agent.AgentCommissionBilltStatisticsDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

@Resource
public interface AgentCommissionBillMapperExt extends AgentCommissionBillMapper {

    List<AgentCommissionBillDto> selectList(@Param("param") AgentCommissionBillDto dto);

    List<AgentCommissionBilltStatisticsDto> statisticsBillForMonth();

    List<AgentCommissionBilltStatisticsDto> statisticsBillForDay();

    AgentCommissionBilltStatisticsDto statisticsBill();

    BigDecimal getCommAmount(@Param("param") AgentCommissionBillDto dto);

    List<AgentBillScreenListDto> selectScreenList(@Param("type") Integer type);

    List<AgentBillScreenListDto> selectSystemList(@Param("sourceId") Long sourceId,@Param("type") Integer type);
}